package com.example.myyunpan.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.myyunpan.entity.domain.EmailCode;
import org.apache.ibatis.annotations.Mapper;

/**
* @author 111
* @description 针对表【email_code(邮箱验证码)】的数据库操作Mapper
* @createDate 2024-10-23 11:41:27
* @Entity com/example/myyunpan.domain.EmailCode
*/
@Mapper
public interface EmailCodeMapper extends BaseMapper<EmailCode> {


    void disableEmailCode(String email);

    EmailCode selectByEmailAndCode(String email, String code);
}
